package com.erp.comm;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataAndView {

    private  Integer code = 0;
    private  String msg= "";
    private Long  count=0l;
    private Object data;
    public DataAndView(Long count,Object data){
        this.count = count;
        this .data =data;
    }
    public  DataAndView(Object data){
        this.data=data;
    }
}
